﻿namespace PauloMorgado.SharePoint
{
    using System.Linq;

    class String
    {
        public static bool IsNullOrWhiteSpace(string value)
        {
            if (string.IsNullOrEmpty(value))
            {
                return true;
            }

            return value.All(c => char.IsWhiteSpace(c));
        }
    }
}
